<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>句容机关工委网站管理后台</title>
        <link rel="stylesheet" href="../style/reset.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="../style/style.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="../style/invalid.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="../style/msgbox.css" type="text/css" />
        <link rel="stylesheet" href="../js-plugin/jquery-ui/jquery-ui.css" type="text/css" />
        <script type="text/javascript" src="../js-plugin/jquery-1.6.min.js">
        </script>
        <script type="text/javascript" src="../js-plugin/jquery-ui/jquery-ui.min.js">
        </script>
        <script type="text/javascript" src="../js-plugin/simpla.jquery.configuration.js">
        </script>
        <script src="../js-plugin/jquery.easy-confirm-dialog.js">
        </script>
        <script type="text/javascript" src="../js-plugin/jquery.template.js">
        </script>
        <script src="../js-plugin/tpl.js">
        </script>
        <script src="../js/master/VideoList.js">
        </script>
        <style>
            .button_fix {
                margin: -4px 0 0 10px;
            }
            
            .Videop {
                display: inline-block;
                border: 1px #e9eae9 solid;
                text-align: center;
                padding: 5px;
                margin: 0 10px 10px auto;
            }
            
            .Videop img {
                width: 150px;
                height: 150px;
                border: 3px #61ba5d solid;
            }
            
            .Videop h4 {
                width: 150px;
                margin: 3px auto;
                text-align: center;
                font-size: 14px;
                line-height: 16px
            }
        </style>
    </head>
    <body>
        <div class="loadingbox clearfix">
        </div>
        <div id="main-content">
            <div class="content-box">
                <div class="content-box-header">
                    <h3>网站视频管理</h3>
                    <div class="bulk-actions align-right20">
                        <a class="button button_fix" href="VideoEdit">添加新的视频</a>
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="content-box-content">
                    <div class="tab-content default-tab">
                        <div class="notification attention png_bg" style="display:none">
                            <a href="#" class="close"><img src="/images/manage/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
                            <div id="errormsg">错误信息</div>
                        </div>
                        <div>
                            <#list manager.getVideoListAll(20) as video>
                            <div class="Videop">
                                <img src="${video.mainphoto?html}" /><h4>${video.title?html}</h4>
                                <a class="button editBtn" href="VideoEdit?id=${video.id?c}">编辑</a>
                                <a class="button delBtn" href="${video.id?c}">删除</a>
                                <div class="clear">
                                </div>
                            </div>
                            </#list>
                            <div class="pagination">
                                ${manager.getPaginator()}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>
